package com.example.wengwyue.patientapplication.model;

import java.io.Serializable;
import java.util.UUID;

/**
 * 作者： wengwyue   时间： 16/8/3.
 * 功能：
 * 修改：
 */
public class LoginInfo implements Serializable {
    public String name;
    public String word;
    public UUID salt;

    public LoginInfo(String userName, String password) {
        this.name = userName;
        this.word = password;
        this.salt = UUID.randomUUID();
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "name='" + name + '\'' +
                ", word='" + word + '\'' +
                ", salt=" + salt +
                '}';
    }
}
